Add listing of sanatized integrations. - #261
Closed
intomg1990 wants to merge 1 commit into
Closed
Conversation
LucasAlvesSoares
requested changes
Aug 9, 2026
| return result | ||
|
|
||
|
|
||
| def _parse_integration_from_url(url: str) -> Optional[dict]: |
Contributor
There was a problem hiding this comment.
Weak typing. Dict can be typed respective to its key and value types.
| return fragments[0].name | ||
|
|
||
|
|
||
| def list_active_integrations(tenant_subdomain: str) -> list[dict]: |
Contributor
There was a problem hiding this comment.
Make it private by convention. Also, this function name already exists in this module although in another file.
| return fragments[0].name | ||
|
|
||
|
|
||
| def list_active_integrations(tenant_subdomain: str) -> list[dict]: |
Contributor
There was a problem hiding this comment.
Weak typing on return. Add type hints to dictionary
Contributor
|
Make sure CI is green. |
intomg1990
force-pushed
the
feat/AFSDK-4288
branch
from
August 9, 2026 20:31
917f0ef to
a819325
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds a
list_active_integrations(tenant_subdomain)method toAgentGatewayClientthat returns all currently connected backend systems for a given tenant. Each entry contains the partner's Global Tenant ID, application namespace (system type), and the ORD ID of the integration dependency it fulfils.The method reads Destination Service instance fragments for the tenant, filtering by
sap-managed-runtime-typelabel valuesagw.mcp.serverandagw.a2a.server. Integration metadata (GTID, ORD ID, system type) is extracted from the fragment URL.Related Issue
Closes #
Type of Change
How to Test
AgentGatewayClientwith atenant_subdomainthat has active backend system integrationsclient.list_active_integrations()global_tenant_id,system_type, andintegration_dependency; empty list if no active integrations existUnit tests can be run locally with:
Checklist
Breaking Changes
None.
Additional Notes
None.